package com.hsq.androidproject.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Assass on 2017/3/19.
 */

public class TransformationTime {
    public static String getTimeFromMillisecond(Long millisecond) {		/*毫秒转换为时间*/
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("HH:mm");
        Date date = new Date(millisecond);
        String timeStr = simpleDateFormat.format(date);
        return timeStr;
    }
}
